from mymoney_caps import *
from appium.webdriver.common.appiumby import By
from selenium.webdriver.support.wait import WebDriverWait
from appium.webdriver.common.touch_action import TouchAction
from selenium.webdriver.support import expected_conditions as EC

dr = money_caps()
sleep(5)
TouchAction(dr).press(x=250, y=330).wait(1000).move_to(x=250, y=700).wait(100).move_to(x=620, y=700).wait(
    1000).release().perform()
dr.get_screenshot_as_file(r'unlock.png')
dr.save_screenshot(r'unlock2.png')